package com.bloveoacom.weichi.model;


import com.bloveoacom.http.HttpMethods;
import com.bloveoacom.weichi.bean.PostCoinBean;
import com.bloveoacom.weichi.contract.PostListContract;

import io.reactivex.Flowable;

/**
 * author: zhu.px
 * e-mail: 1271901673@qq.com
 * time  : 2018/8/22
 * desc  : 我的
 */
public class PostListModel implements PostListContract.Model {



    @Override
    public void onDestroy() {

    }

    @Override
    public Flowable<PostCoinBean> getCoinNewsList(int pageNum, int pageSize, String sort) {
        return HttpMethods.getInstance().getHttpService().getCoinNewsList(pageNum,pageSize,sort,"");
    }
}
